package com.zhouxl.jackson.xml.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zhouxl
 * @DATE 2021/8/27
 * @descriptoin
 */
@Data
public class NewHb {

    @JSONField(name = "CZJLID")
    @JacksonXmlProperty(localName = "CZJLID")
    private String CZJLID;

    @JSONField(name = "HM")
    @JacksonXmlProperty(localName = "HM")
    private String HM;

    @JSONField(name = "YSID")
    @JacksonXmlProperty(localName = "YSID")
    private String YSID;

    @JSONField(name = "YS")
    @JacksonXmlProperty(localName = "YS")
    private String YS;

    @JSONField(name = "KSID")
    @JacksonXmlProperty(localName = "KSID")
    private String KSID;

    @JSONField(name = "KSMC")
    @JacksonXmlProperty(localName = "KSMC")
    private String KSMC;

    @JSONField(name = "ZC")
    @JacksonXmlProperty(localName = "ZC")
    private String ZC;

    @JSONField(name = "XMID")
    @JacksonXmlProperty(localName = "XMID")
    private String XMID;

    @JSONField(name = "XMMC")
    @JacksonXmlProperty(localName = "XMMC")
    private String XMMC;

    @JSONField(name = "YGHS")
    @JacksonXmlProperty(localName = "YGHS")
    private String YGHS;

    @JSONField(name = "SYHS")
    @JacksonXmlProperty(localName = "SYHS")
    private String SYHS;

    @JSONField(name = "PRICE")
    @JacksonXmlProperty(localName = "PRICE")
    private String PRICE;

    @JSONField(name = "HL")
    @JacksonXmlProperty(localName = "HL")
    private String HL;

    @JSONField(name = "FSD")
    @JacksonXmlProperty(localName = "FSD")
    private String FSD;

    @JSONField(name = "HBTIME")
    @JacksonXmlProperty(localName = "HBTIME")
    private String HBTIME;

    @JSONField(name = "FWMC")
    @JacksonXmlProperty(localName = "FWMC")
    private String FWMC;

    @JSONField(name = "SPANLIST")
    @JacksonXmlElementWrapper(localName = "SPANLIST")
    @JacksonXmlProperty(localName = "SPAN")
    List<NewSpan> spanlist;

}
